# coding: utf-8

def make_navigate(names):
	result = [
		{
			"name": "Main page",
			"url": "/admin/"
		},
	]
	
	def points(count):
		s = ""
		for i in xrange(count):
			s += "../"
		return s
	l = len(names)
	for i in xrange(l):
		result.append({
			"name": names[i],
			"url": points(l - i - 1),
		})
	
	return result